<?
require("config.php");
$langname = 'news';
require("header.php");
?>



<?
$showNews = true;

$table = "med_news";

$field = array(

"id",
"date",
"subject",
"details",
"picture1",
"picture2",
"picture3",
"type",
);

if ($id) { $exp = "AND id = $id "; $hasid = $id; }

$exp .= " and type='Denmark' order by order_index Limit 1";

$r = limitQuery($table,$field,$exp);

$id = $r[0][0];
$exp = "";
?>









<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr> 

    <td width="186" valign="top"> 
      <?require("nav.php")?>
    </td>
    <td width="11"><img src="images/shim.gif" width="11" height="1"></td>
    <td valign="top"> 
      <?require("menu.php")?>
      <table width="100%" border="0" cellspacing="0" cellpadding="0">
        <tr> 
          <td align="right"><table width="100%" border="0">
              <tr> 
                <td height="50" class="header">&gt;&gt; News</td>
              </tr>
            </table></td>
        </tr>
      </table>
			<?php if (!empty($id)) { ?>
      <table width="100%" border="0" cellspacing="0" cellpadding="5">

        <tr>
          <td align="left" bgcolor="#E6E6CC"><strong><font color="#990000" size="2" face="Verdana, Arial, Helvetica, sans-serif">Denmark</font></strong></td>
        </tr>
        <tr> 
          <td align="right"><a href="newslist.php">read more news</a></td>
        </tr>

        <tr> 
          <td><b>
            <?=$r[0][2]?>
            </b> </td>
        </tr>
        <tr> 
          <td> 
            <?=outDate($r[0][1])?>
          </td>
        </tr>
        <tr> 
          <td valign="top">




<table>
		  <?for ($i=0;$i<count($r);$i++){?>


<tr><td valign="top">
		   <a href="javascript:Redirect('zoom.php?pic=<?=UrlEncode($PIC_DIR . "$table/" . $r[$i][4])?>',3)"><?=showPic($PIC_DIR . "$table/sm_" . $r[$i][4],"")?></a><br>
		  <a href="javascript:Redirect('zoom.php?pic=<?=UrlEncode($PIC_DIR . "$table/" . $r[$i][5])?>',3)"><?=showPic($PIC_DIR . "$table/sm_" . $r[$i][5],"")?></a><br>
		  <a href="javascript:Redirect('zoom.php?pic=<?=UrlEncode($PIC_DIR . "$table/" . $r[$i][6])?>',3)"><?=showPic($PIC_DIR . "$table/sm_" . $r[$i][6],"")?></a>
</td><td valign="top">




<?=$r[$i][3]?>

</td></tr>
<? } ?>
</table>

			
			
			
			</td>
        </tr>
        <tr> 
          <td> <div align="right"><a href="print.php?id=<?=$id?>&p=news" target="_blank"><u>print this article</u></a> | 
              <a href="javascript:Redirect('email.php?id=<?=$id?>&p=news',3)"><u>e-mail to friend</u></a></div></td>
        </tr>
      </table><?php } ?>
      <br>
      <br> 
			<?

$field = array(

"id",
"date",
"subject",
"details",
"picture1",
"picture2",
"picture3",
"type",
);

if (isset($hasid)) $exp = "AND id = $hasid ";

$exp .= " and type='Hong Kong' order by order_index Limit 1";

$r = limitQuery($table,$field,$exp);

$id = $r[0][0];

if (!empty($id)) {
?>
      <table width="100%" border="0" cellspacing="0" cellpadding="5">
        <tr>
          <td align="left" bgcolor="#E6E6CC"><strong><font color="#990000" size="2" face="Verdana, Arial, Helvetica, sans-serif">Hong Kong </font></strong></td>
        </tr>
        <tr>
          <td align="right"><a href="newslist.php">read more news</a></td>
        </tr>
        <tr>
          <td><b>
            <?=$r[0][2]?>
          </b> </td>
        </tr>
        <tr>
          <td>
            <?=outDate($r[0][1])?>
          </td>
        </tr>
        <tr>
          <td valign="top">
            <table>
              <? for ($i=0;$i<count($r);$i++){ ?>
              <tr>
                <td valign="top"> <a href="javascript:Redirect('zoom.php?pic=<?=UrlEncode($PIC_DIR . "$table/" . $r[$i][4])?>',3)">
                  <?=showPic($PIC_DIR . "$table/sm_" . $r[$i][4],"")?>
                  </a><br>
                  <a href="javascript:Redirect('zoom.php?pic=<?=UrlEncode($PIC_DIR . "$table/" . $r[$i][5])?>',3)">
                  <?=showPic($PIC_DIR . "$table/sm_" . $r[$i][5],"")?>
                  </a><br>
                  <a href="javascript:Redirect('zoom.php?pic=<?=UrlEncode($PIC_DIR . "$table/" . $r[$i][6])?>',3)">
                  <?=showPic($PIC_DIR . "$table/sm_" . $r[$i][6],"")?>
                </a> </td>
                <td valign="top">
                  <?=$r[$i][3]?>
                </td>
              </tr>
              <? } ?>
            </table>
          </td>
        </tr>
        <tr>
          <td>
            <div align="right"><a href="print.php?id=<?=$id?>&p=news" target="_blank"><u>print this article</u></a> | <a href="javascript:Redirect('email.php?id=<?=$id?>&p=news',3)"><u>e-mail to friend</u></a></div>
          </td>
        </tr>
      </table> <?php } ?>
      <br> <br>
      <br> </td>
    <td width="11"><img src="images/shim.gif" width="11" height="1"></td>
    <td width="173" valign="top">
	
	
<?require("list.php")?>	 
	  
	  
    </td>

  </tr>
</table>





<?require("footer.php")?>	